<?php
/**
 * @file $HeadURL: memberprofile.php $
 * @author $Author: DongJC (dongjianchang@haibao.com) $
 * @date $Date: 2015-4-25 7:58:34 $
 * @brief 
 */
namespace haibao\user\model\data;

class MemberProfile extends \haibao\user\model\data\Base{
	
	public $uid;
	public $realname;
	public $gender;
	public $birthyear;
	public $birthmonth;
	public $birthday;
	public $constellation;
	public $zodiac;
	public $telephone;
	public $mobile;
	public $idcardtype;
	public $idcard;
	public $address;
	public $zipcode;
	public $nationality;
	public $birthprovince;
	public $birthcity;
	public $birthdist;
	public $birthcommunity;
	public $resideprovince;
	public $residecity;
	public $residedist;
	public $residecommunity;
	public $residesuite;
	public $graduateschool;
	public $company;
	public $education;
	public $occupation;
	public $position;
	public $revenue;
	public $affectivestatus;
	public $lookingfor;
	public $bloodtype;
	public $height;
	public $weight;
	public $alipay;
	public $icq;
	public $qq;
	public $yahoo;
	public $msn;
	public $taobao;
	public $site;
	public $bio;
	public $interest;
	public $field1;
	public $field2;
	public $field3;
	public $field4;
	public $field5;
	public $field6;
	public $field7;
	public $field8;
	
	
	public function __construct(){
		parent::__construct();
		
		$this->intField( 'uid','uid');
		$this->stringField( 'realname','realname');  
		$this->intField( 'gender','gender');
		$this->intField( 'birthyear','birthyear');
		$this->intField( 'birthmonth','birthmonth');
		$this->intField( 'birthday','birthday');
		$this->stringField( 'constellation', 'constellation');
		$this->stringField( 'zodiac','zodiac');
		$this->stringField( 'telephone','telephone');
		$this->stringField( 'mobile','mobile');
		$this->stringField( 'idcardtype','idcardtype');
		$this->stringField( 'idcard','idcard');
		$this->stringField( 'address','address');
		$this->stringField( 'zipcode','zipcode');
		$this->stringField( 'nationality','nationality');
		$this->stringField( 'birthprovince','birthprovince');
		$this->stringField( 'birthcity','birthcity');
		$this->stringField( 'birthdist','birthdist');
		$this->stringField( 'birthcommunity','birthcommunity');
		$this->stringField( 'resideprovince','resideprovince');
		$this->stringField( 'residecity','residecity');
		$this->stringField( 'residedist','residedist');
		$this->stringField( 'residecommunity','residecommunity');
		$this->stringField( 'residesuite','residesuite');
		$this->stringField( 'graduateschool','graduateschool');
		$this->stringField( 'company','company');
		$this->stringField( 'education','education');
		$this->stringField( 'occupation','occupation');
		$this->stringField( 'position','position');
		$this->stringField( 'revenue','revenue');
		$this->stringField( 'affectivestatus','affectivestatus');
		$this->stringField( 'lookingfor','lookingfor');
		$this->stringField( 'bloodtype','bloodtype');
		$this->stringField( 'height','height');
		$this->stringField( 'weight', 'weight');
		$this->stringField( 'alipay','alipay');
		$this->stringField( 'icq','icq');
		$this->stringField( 'qq','qq');
		$this->stringField( 'yahoo','yahoo');
		$this->stringField( 'msn','msn');
		$this->stringField( 'taobao','taobao');
		$this->stringField( 'site','site');
		$this->stringField( 'bio','bio');
		$this->stringField( 'interest','interest');
		$this->stringField( 'field1','field1');
		$this->stringField( 'field2','field2');
		$this->stringField( 'field3','field3');
		$this->stringField( 'field4','field4');
		$this->stringField( 'field5','field5');
		$this->stringField( 'field6','field6');
		$this->stringField( 'field7','field7');
		$this->stringField( 'field8','field8');
		
		$this->setTableName('hb_common_member_profile');
	}
}